package com.cfpl.admin_vegetable_service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cfpl.admin_vegetable_service.VO.SearchResult;
import com.cfpl.project_common.pojo.Warehouse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 14720
* @description 针对表【warehouse(仓库管理表)】的数据库操作Service
* @createDate 2023-11-02 10:16:29
*/
public interface WarehouseService extends IService<Warehouse> {
    /**
     * 分页查询所有仓库数据
     * @param currentPage
     * @param pageSize
     * @param condition
     * @return
     */
    Page<Warehouse> queryPage(int currentPage,int pageSize,String condition);

    /**
     * 添加仓库数据
     * @param warehouse
     */
    void addWarehouse(Warehouse warehouse);
    /**
     * 查询追溯信息
     */
    SearchResult queryTraceabilityInfo(String identifyCode);


}
